﻿using System;
using System.Data;
using System.Collections.Generic;
using Dos.ORM;


public partial class webmx_program_product_List : System.Web.UI.Page
{
    public List<temple_rally> data;
    protected void Page_Load(object sender, EventArgs e)
    {
        data = DB.Context.From<temple_rally>()
            .Select(s => new { s.ID, s.Name, s.SortID, s.StartTime, s.EndTime, s.Year })
            .Where(w => w.IsDel == false)
            .OrderByDescending(ob => ob.Year).OrderByDescending(ob2 => ob2.SortID).ToList();
    }
}